<include file="common/hearder"/>
<div class="container">
    <div class="row">
        <div class="col-lg-6">
            <br><h3>修改菜单</h3><br>
            <form method="post">
                <div class="form-group">
                    <label for="exampleInputEmail1">菜单名称</label>
                    <input type="text" class="form-control" name="name" id="exampleInputEmail1" value="{$menu.name}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail2">控制器名称</label>
                    <input type="text" class="form-control" name="controll" id="exampleInputEmail2" value="{$menu.controll}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail3">视图名称</label>
                    <input type="text" class="form-control" name="view" id="exampleInputEmail3" value="{$menu.view}">
                </div>
                <div class="form-group">
                    <label>状态</label>
                    <input type="radio" name="hidden" value="1" <?php echo $menu['hidden']==1?'checked':''?>>显示
                    <input type="radio" name="hidden" value="0" <?php echo $menu['hidden']==0?'checked':''?>>隐藏
                </div>
                <input type="hidden" value="1" name="submit">
                <input type="hidden" value="{$_GET['mid']}" name="mid">
                <button type="submit" class="btn btn-info">修改</button>
                <a href="{:U('index')}" class="btn btn-default">返回上一页</a>
            </form>
        </div>
    </div>
</div>
<include file="common/footer"/>